package persistence.serialization;

import core.exception.SaveException;
import persistence.ContainerDTO;
import persistence.ProductContainerDAO;
import persistence.ProductDTO;

/**
 * ProductContainerDAO for serializable persistence
 * @author Sabrina
 *
 */
public class SerialProductContainerDAO implements ProductContainerDAO {

	/**
	 * Construct a DBProductContainerDAO
	 */
	public SerialProductContainerDAO() {
		
	}
	/**
	 * @inheritDoc
	 */
	@Override
	public void addRelationship(ProductDTO product, ContainerDTO container) throws SaveException {
		//ignored by serialization
	}

	/**
	 * @inheritDoc
	 */
	@Override
	public void removeRelationship(ProductDTO product, ContainerDTO container) 
			throws SaveException {
		//ignored by serialization
	}

}
